Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RSA_KEY_SIZE flag to cli test script #114

Merged
merged 1 commit into from
Nov 24, 2023

Conversation

gowthamsk-arm
Copy link
Contributor

This flag can be used for testing parsec on slower platforms where RSA 2048 key operations are time consuming.

Closes #112

Signed-off-by: Gowtham Suresh Kumar [email protected]

@gowthamsk-arm gowthamsk-arm force-pushed the override_keylen branch 2 times, most recently from 4340aab to bbe12c8 Compare November 23, 2023 09:04
@gowthamsk-arm gowthamsk-arm self-assigned this Nov 23, 2023
@tgonzalezorlandoarm
Copy link
Member

tgonzalezorlandoarm commented Nov 23, 2023

I was wondering if we could start doing something like:

tests/parsec-cli-tests.sh: Add RSA_KEY_SIZE flag

@tgonzalezorlandoarm
Copy link
Member

I was wondering if we could start doing something like:

tests/parsec-cli-tests.sh: Add RSA_KEY_SIZE flag

See for example: 2c78cc3

@tgonzalezorlandoarm
Copy link
Member

I was wondering if we could start doing something like:

tests/parsec-cli-tests.sh: Add RSA_KEY_SIZE flag

To be clearer, I'm talking about the commit message here.

@gowthamsk-arm
Copy link
Contributor Author

Sounds good. Will update the commit.

tests/parsec-cli-tests.sh Outdated Show resolved Hide resolved
tests/ci.sh Outdated Show resolved Hide resolved
tests/parsec-cli-tests.sh Show resolved Hide resolved
tests/parsec-cli-tests.sh Show resolved Hide resolved
key_size=$1
key_param="--bits $1"
else
key_size=${DEFAULT_SIZE}
key_size=2048
key_param=""
fi

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a blocke but would it be worth to have a print-out of the chosen key size? Given that we have multiple ways of setting it RSA_KEY_SIZE enviroment var, --rsa-key-size or the default?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will add it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added now.

This flag can be used for testing parsec on slower platforms
where RSA 2048 key operations are time consuming.

Signed-off-by: Gowtham Suresh Kumar <[email protected]>
Copy link
Member

@tgonzalezorlandoarm tgonzalezorlandoarm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@minosgalanakis minosgalanakis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gowthamsk-arm gowthamsk-arm merged commit b110aa0 into parallaxsecond:main Nov 24, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Request to add override option for parsec-cli-test.sh key length (bits)
3 participants